Theme Text Color Constants
A constant of type
ThemeTextColor
identifies a particular context in which text is used. You can pass a constant of type
ThemeTextColor
to the function
SetThemeTextColor
to specify that the Appearance Manager substitute whatever the appropriate text color is for a given context under the current theme. You can use the function
GetThemeTextColor
to obtain the actual color in use under the current theme for the specified
ThemeTextColor
constant.
enum {
kThemeTextColorDialogActive = 1,
kThemeTextColorDialogInactive = 2,
kThemeTextColorAlertActive = 3,
kThemeTextColorAlertInactive = 4,
kThemeTextColorModelessDialogActive = 5,
kThemeTextColorModelessDialogInactive = 6,
kThemeTextColorWindowHeaderActive = 7,
kThemeTextColorWindowHeaderInactive = 8,
kThemeTextColorPlacardActive = 9,
kThemeTextColorPlacardInactive = 10,
kThemeTextColorPlacardPressed = 11,
kThemeTextColorPushButtonActive = 12,
kThemeTextColorPushButtonInactive = 13,
kThemeTextColorPushButtonPressed = 14,
kThemeTextColorBevelButtonActive = 15,
kThemeTextColorBevelButtonInactive = 16,
kThemeTextColorBevelButtonPressed = 17,
kThemeTextColorPopupButtonActive = 18,
kThemeTextColorPopupButtonInactive = 19,
kThemeTextColorPopupButtonPressed = 20,
kThemeTextColorIconLabel = 21,
kThemeTextColorListView = 22,
/* Text colors available in Appearance Manager 1.0.1 or later */
kThemeTextColorDocumentWindowTitleActive = 23,
kThemeTextColorDocumentWindowTitleInactive = 24,
kThemeTextColorMovableModalWindowTitleActive = 25,
kThemeTextColorMovableModalWindowTitleInactive = 26,
kThemeTextColorUtilityWindowTitleActive = 27,
kThemeTextColorUtilityWindowTitleInactive = 28,
kThemeTextColorPopupWindowTitleActive = 29,
kThemeTextColorPopupWindowTitleInactive = 30,
kThemeTextColorRootMenuActive = 31,
kThemeTextColorRootMenuSelected = 32,
kThemeTextColorRootMenuDisabled = 33,
kThemeTextColorMenuItemActive = 34,
kThemeTextColorMenuItemSelected = 35,
kThemeTextColorMenuItemDisabled = 36,
kThemeTextColorPopupLabelActive = 37,
kThemeTextColorPopupLabelInactive = 38,
/* Text colors available in Appearance Manager 1.1 or later */
kThemeTextColorTabFrontActive = 39,
kThemeTextColorTabNonFrontActive = 40,
kThemeTextColorTabNonFrontPressed = 41,
kThemeTextColorTabFrontInactive = 42,
kThemeTextColorTabNonFrontInactive = 43,
kThemeTextColorIconLabelSelected = 44,
kThemeTextColorBevelButtonStickyActive = 45,
kThemeTextColorBevelButtonStickyInactive = 46,
kThemeTextColorBlack = -1,
kThemeTextColorWhite = -2
};
typedef SInt16 ThemeTextColor;
Constant descriptions
-
kThemeTextColorDialogActive
-
Text color for an active dialog box.
-
kThemeTextColorDialogInactive
-
Text color for an inactive dialog box.
-
kThemeTextColorAlertActive
-
Text color for an active alert box.
-
kThemeTextColorAlertInactive
-
Text color for an inactive alert box.
-
kThemeTextColorModelessDialogActive
-
Text color for an active modeless dialog box.
-
kThemeTextColorModelessDialogInactive
-
Text color for an inactive modeless dialog box.
-
kThemeTextColorWindowHeaderActive
-
Text color for the window header of an active window.
-
kThemeTextColorWindowHeaderInactive
-
Text color for the window header of an inactive window.
-
kThemeTextColorPlacardActive
-
Text color for a placard in an active window.
-
kThemeTextColorPlacardInactive
-
Text color for a placard in an inactive window.
-
kThemeTextColorPlacardPressed
-
Text color for a placard that is being clicked on by the user.
-
kThemeTextColorPushButtonActive
-
Text color for an active push button.
-
kThemeTextColorPushButtonInactive
-
Text color for an inactive push button.
-
kThemeTextColorPushButtonPressed
-
Text color for a push button that is being clicked on by the user.
-
kThemeTextColorBevelButtonActive
-
Text color for an active bevel button.
-
kThemeTextColorBevelButtonInactive
-
Text color for an inactive bevel button.
-
kThemeTextColorBevelButtonPressed
-
Text color for a bevel button that is being clicked on by the user.
-
kThemeTextColorPopupButtonActive
-
Text color for the menu of an active pop-up menu button.
-
kThemeTextColorPopupButtonInactive
-
Text color for the menu of an inactive pop-up menu button.
-
kThemeTextColorPopupButtonPressed
-
Text color for the menu of a pop-up menu button that is being clicked on by the user.
-
kThemeTextColorIconLabel
-
Text color for an icon label.
-
kThemeTextColorListView
-
Text color for the contents of a list view column.
-
kThemeTextColorDocumentWindowTitleActive
-
Text color for the title of an active document window. Available with Appearance Manager 1.0.1 and later.
-
kThemeTextColorDocumentWindowTitleInactive
-
Text color for the title of an inactive document window. Available with Appearance Manager 1.0.1 and later.
-
kThemeTextColorMovableModalWindowTitleActive
-
Text color for the title of an active movable modal window. Available with Appearance Manager 1.0.1 and later.
-
kThemeTextColorMovableModalWindowTitleInactive
-
Text color for the title of inactive movable modal window. Available with Appearance Manager 1.0.1 and later.
-
kThemeTextColorUtilityWindowTitleActive
-
Text color for the title of an active utility (floating) window. Available with Appearance Manager 1.0.1 and later.
-
kThemeTextColorUtilityWindowTitleInactive
-
Text color for the title of an inactive utility (floating) window. Available with Appearance Manager 1.0.1 and later.
-
kThemeTextColorPopupWindowTitleActive
-
Text color for the title of an active pop-up window. Available with Appearance Manager 1.0.1 and later.
-
kThemeTextColorPopupWindowTitleInactive
-
Text color for the title of an inactive pop-up window. Available with Appearance Manager 1.0.1 and later.
-
kThemeTextColorRootMenuActive
-
Text color for an active menu bar title. Available with Appearance Manager 1.0.1 and later.
-
kThemeTextColorRootMenuSelected
-
Text color for a menu bar title that is being selected by the user. Available with Appearance Manager 1.0.1 and later.
-
kThemeTextColorRootMenuDisabled
-
Text color for a disabled menu bar title. Available with Appearance Manager 1.0.1 and later.
-
kThemeTextColorMenuItemActive
-
Text color for an active menu item. Available with Appearance Manager 1.0.1 and later.
-
kThemeTextColorMenuItemSelected
-
Text color for a menu item that is being selected by the user. Available with Appearance Manager 1.0.1 and later.
-
kThemeTextColorMenuItemDisabled
-
Text color for a disabled menu item. Available with Appearance Manager 1.0.1 and later.
-
kThemeTextColorPopupLabelActive
-
Text color for the label of an active pop-up menu button. Available with Appearance Manager 1.0.1 and later.
-
kThemeTextColorPopupLabelInactive
-
Text color for the label of an inactive pop-up menu button. Available with Appearance Manager 1.0.1 and later.
-
kThemeTextColorTabFrontActive
-
Text color for the front tab of an active tab control. Available with Appearance Manager 1.1 and later.
-
kThemeTextColorTabNonFrontActive
-
Text color for an active tab that is not the frontmost of a tab control. Available with Appearance Manager 1.1 and later.
-
kThemeTextColorTabNonFrontPressed
-
Text color for a tab that is not the frontmost of a tab control, when the tab is being clicked on by the user. Available with Appearance Manager 1.1 and later.
-
kThemeTextColorTabFrontInactive
-
Text color for the front tab of an inactive tab control. Available with Appearance Manager 1.1 and later.
-
kThemeTextColorTabNonFrontInactive
-
Text color for an inactive tab that is not the frontmost of a tab control. The tab may either be inactive because it has been individually disabled or because the tab control as a whole is currently inactive. Available with Appearance Manager 1.1 and later.
-
kThemeTextColorIconLabelSelected
-
Text color for the label of an icon that is currently selected. Available with Appearance Manager 1.1 and later.
-
kThemeTextColorBevelButtonStickyActive
-
Text color for an active bevel button that is currently on. Available with Appearance Manager 1.1 and later.
-
kThemeTextColorBevelButtonStickyInactive
-
Text color for an inactive bevel button that is currently on. Available with Appearance Manager 1.1 and later.
-
kThemeTextColorBlack
-
Black; this color does not change from theme to theme. You may use this constant instead of specifying a direct RGB value. Available with Appearance Manager 1.1 and later.
-
kThemeTextColorWhite
-
White; this color does not change from theme to theme. You may use this constant instead of specifying a direct RGB value. Available with Appearance Manager 1.1 and later.
© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)